<!DOCTYPE html>
<html>
<head>
<title>流程实例</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<a class="btn btn-primary" @click="showModel"><i class="fa fa-plus"></i>&nbsp;查看流程</a>
			<a class="btn btn-primary" @click="suspend"><i class="fa fa-plus"></i>&nbsp;挂起</a>
			<a class="btn btn-primary" @click="activate"><i class="fa fa-plus"></i>&nbsp;激活</a>
			<a class="btn btn-primary" @click="del"><i class="fa fa-plus"></i>&nbsp;删除</a>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
			<div class="form-group">
			   	<div class="col-sm-2 control-label">id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="bpmProcessInstance.key" placeholder="id"/>
			    </div>
			</div>
											<div class="form-group">
			   	<div class="col-sm-2 control-label">名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="bpmProcessInstance.name" placeholder="名称"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/bpm/bpmProcessInstance.js?_${date.systemTime}"></script>
</body>
</html>